import pandas as pd
from pandas import DataFrame,Series
df =  DataFrame({'c1':['a','a','b'],'c2':['a','b','b'],'c3':['a','b','x']})
df.drop_duplicates('c1')#删除c1列上的重复值
print(df)
print(df.drop_duplicates('c1'))